package com.test1;

public class Cake extends GameObject {
	private GameImage img = new GameImage( R.drawable.cake );
	public Cake(){
		super();
		this.w = img.getWidth();
		this.h = img.getHeight();
	}

	@Override
	public void draw(){
		this.drawImage( this.img );
	}
	
	public void onPress( GameEvent event ){
		this.remove();
		Game.eatCake();
	}
}
